package com.pzl.hwr.view;

import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;

import com.pzl.hwr.util.JTHwrPadViewUtil;
import com.sinovoice.hcicloudui.hwr.JTHwrPadView;

/**
 * Created by zl.peng on 2017/6/23 10:51.
 */

public class MyJTHwrPadView extends JTHwrPadView {


    public MyJTHwrPadView(Context context) {
        super(context);
    }

    public MyJTHwrPadView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    @Override
    public void start(String s) {
        super.start(s);
        //修改背景颜色（原来的仅light和dark两种颜色可通过传参设置）
        JTHwrPadViewUtil.setBg(this, Color.TRANSPARENT);
        invalidate();
    }


}
